<template>
  <div class="da">
    <div class="box">
      <div class="header">
        头部
      </div>
      <div class="meddle">中间</div>
    </div>
    <div class="footer">
      <van-tabbar v-model="active">
  <van-tabbar-item icon="home-o">标签</van-tabbar-item>
  <van-tabbar-item icon="search">标签</van-tabbar-item>
  <van-tabbar-item icon="friends-o">标签</van-tabbar-item>
  <van-tabbar-item icon="setting-o">标签</van-tabbar-item>
</van-tabbar>
    </div>
  </div>
</template>

<style lang="scss">
  *{
    padding: 0;
    margin: 0;
    list-style: none;
  }
  .html,
  body,
  #app
  .da{
    width: 100%;
    height: 100%;
  }
  .da{
    display: flex;
    flex-direction: column;
    background-color: white;
  }
  .box{
    flex: 1;
    overflow: auto;
    display: flex;
    flex-direction: column;
  }
  .header{
    width: 50px;
  }
  .meddle{
    flex: 1;
    overflow: auto;
  }
  .footer{
    height: 50px;
  
  }
</style>
